<template>
  <div class="body-box">

    <div style="display: flex; flex-direction: row">
      <div class="pre-box">
        <pre-chart />
      </div>

      <div class="pre-box">
        <circular-diagram />
      </div>

      <div class="pre-box">
        <line-chart />
      </div>
    </div>

    <div class="list-box">
      <div class="table-box">
        <row-histogram :type="true" />
      </div>
      <div class="table-box">
        <row-histogram :type="false" />
      </div>
    </div>
  </div>
</template>

<script>
import rowHistogram from "@/views/echarts/row-histogram.vue";
import preChart from "@/views/echarts/pie-chart.vue"
import circularDiagram from "@/views/echarts/circular-diagram.vue";
import lineChart from "@/views/echarts/line-chart.vue";
export default {
  name: "Index",
  components:{rowHistogram, preChart, circularDiagram, lineChart},
  data() {
    return {
    }
  }
}
</script>

<style scoped lang="scss">
  .body-box {
    width: 100vw;
    height: 90vh;
    background-color: rgb(244, 244, 245);
    padding: 20px;
  }
  .pre-box{
    width: 28vw;
    height: 350px;
    background-color: #FFFFFF;
    padding: 20px;
    margin-right: 1.2vw;
  }

  .list-box {
    height: 48vh;
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    .table-box {
      width: 42vw;
      margin-right: 2.4vw;
      padding: 20px 10px;
      background-color: #FFFFFF;
    }
  }
</style>
